SERVER_PORT = 8999
DEBUG = False
SQLALCHEMY_ECHO = False
SECRET_KEY = 'fljgklajdglkajgkljaglka'
AUTH_COOKIE_NAME = 'food'
# 过滤url

# 微信小程序端请求的url前缀需要过滤，不做检测
API_IGNORE_URLS = [
    "^/api"
]

IGNORE_URLS = [
    "^/user/login"
]
IGNORE_CHECK_LOGIN_URLS = [
    "^/static",
    "^/favicon.icon",
]
# 状态映射
STATUS_MAPPING = {
    "1": "上架",
    "0": "下架"
}
# 你的微信小程序的 appid 和 appkey的值
MINA_APP = {
    "appid": "wx8c160cedd9ae9b3b",
    "appkey": "eab1144f6ecc6218b700b6ca82ebba24",
}
UPLOAD = {
    'ext': ['jpg', 'gif', 'bmp', 'jpeg', 'png'],
    'prefix_path': '/web/static/upload/',
    'prefix_url': '/static/upload/'
}
APP = {
    # 'domain':'http://192.168.3.178:8999'
    'domain': 'http://127.0.0.1:8999'
}
